/**
 * output package name
 */
package com.kingdee.eas.lms.purchase.stock;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class StockTypeEnum extends StringEnum
{
    public static final String RESEVES_VALUE = "1";
    public static final String NORESEVES_VALUE = "2";
    public static final String CARS_VALUE = "3";

    public static final StockTypeEnum reseves = new StockTypeEnum("reseves", RESEVES_VALUE);
    public static final StockTypeEnum Noreseves = new StockTypeEnum("Noreseves", NORESEVES_VALUE);
    public static final StockTypeEnum cars = new StockTypeEnum("cars", CARS_VALUE);

    /**
     * construct function
     * @param String stockTypeEnum
     */
    private StockTypeEnum(String name, String stockTypeEnum)
    {
        super(name, stockTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static StockTypeEnum getEnum(String stockTypeEnum)
    {
        return (StockTypeEnum)getEnum(StockTypeEnum.class, stockTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(StockTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(StockTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(StockTypeEnum.class);
    }
}